package game.core.phases 
{
	/**
	 * ...
	 * @author Sulus Ltd.
	 */
	public class FinishTurnPhase extends TurnPhase
	{
		
		public function FinishTurnPhase() 
		{
			name = "конец хода";
		}
		
		
		
		override public function Start():void 
		{
			trace("FinishTurnPhase phase begins");
			
			if (papa.currentPlayer)
			{
				papa.currentPlayer = null;
				
			}
			
			papa.world.gui.ShowPlayerPanel(null);
			
			EndPhase();
		}
		
		override public function Finish():void 
		{
			trace("FinishTurnPhase phase ends");
		}
	}

}